@import '../../../src/res/theme/xxhz.scss';



.tab-active {
  color: $mainColor;
}

.add-detail-root {
  width: 100%;

  .head-bg {
    position: sticky;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
  }

  .header-car {
    height: 45PX;
    width: 100%;
    position: absolute;
    z-index: 99;

    .box-car {
      padding: 0 30px;
      display: flex;
      justify-content: flex-start;
      height: 100%;
      align-items: flex-start;
      position: relative;

      .left {
        height: 30Px;
        border-radius: 16Px;
        border: 1px solid #f8f8f8;
        display: flex;
        width: 88Px;
        color: #d5d5d5;
        overflow: hidden;
        justify-content: space-evenly;
        align-items: center;
        font-size: 12Px !important;

        .shu {
          background: #dbdbdb;
          width: 1px;
          height: 30px;
        }

        at-icon {
          display: flex;
          justify-content: space-around;
          align-items: center;
        }

        .back {
          width: 30Px;
          height: 30Px;
          display: flex;
          color: #000;
          justify-content: center;
          align-items: center;
        }

        .home {
          color: #000;
          height: 30Px;
          display: flex;
          align-items: center;
          width: 30Px;
          justify-content: center;
          align-items: center;
        }

        .menu {
          height: 30Px;
          width: 30Px;
          display: flex;
          color: #000;
          justify-content: center;
          align-items: center;
        }
      }

      .title {
        width: calc(100% - 180Px);
        color: white;
        font-weight: bold;
        font-size: 34px;
        text-align: center;
        line-height: 30Px;
      }

      .nav {
        position: absolute;
        left: 20px;
        width: 192px;
        border-radius: 10px;
        top: 85px;
        padding: 0 15px;
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.09);

        .nav-li {
          height: 72px;
          line-height: 72px;
          text-align: left;
          font-size: 26px;
          border-bottom: 1px solid #e9e9e9;
          color: #333;

          :first-child {
            position: relative;
            z-index: 12;
          }

          :last-child {
            border-bottom: 0;
          }

          at-icon {
            padding: 0 15px;
          }
        }
      }

      .nav::before {
        content: '';
        position: absolute;
        left: 50%;
        width: 30px;
        height: 30px;
        z-index: 11;
        background: #fff;
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
        box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.09);
      }

      .search {
        width: calc(100% - 216Px);
        padding: 0 30px;
        height: 32Px;
        line-height: 32Px;
        border-radius: 22Px;
        background: #f8f8f8;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 24px;
        margin-left: 10px;
        color: #666;
      }
    }
  }

  .edit-box {
    margin: 20px;

    .first-edit-box-wrapper {
      border-radius: 10px;
    }

    .form-group {
      width: 100%;
      background: #fff;
      border-bottom: 1px solid #ededed;

      .add-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24px 15px;
        line-height: 1.5;
      }

      .label {
        width: 135px;
        font-size: 28px;
        color: #666;
        margin-right: 16px;
      }

      .addcheck {
        display: flex;
        font-size: 26px;
        color: #333;
        flex: 1;
        justify-content: space-between;
      }
    }

    .default {
      margin-top: 20px
    }
  }

  .save-add-btn {
    background: $mainColor;
    height: 88px;
    line-height: 88px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    font-size: 26px;
    margin: 0 20px 20px;
  }

  .del-add-btn {
    height: 88px;
    border: 1px solid $mainColor;
    color: $mainColor;
    font-size: 26px;
    line-height: 88px;
    border-radius: 10px;
    text-align: center;
    margin: 0 20px 0;
  }

  .at-list__item-extra {
    max-width: 520px;
  }

  .at-input__title--required::before {
    margin-left: -15px;
  }

  .at-input__title {
    width: 135px;
    font-size: 28px;
    color: #666;
  }

  .at-input {
    margin-left: 15px;
  }

  .at-input input, .at-list__item .item-extra__info {
    font-size: 26px;
    color: #333;
  }

  .at-list__item-content {
    flex: none;
    width: 135px;
    font-size: 28px;
    margin-right: 16px;
  }

  .at-switch::after {
    border: none;
  }

  .at-switch {
    margin-left: 15px;
  }

  .del-box {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;

    .del-bj {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      background: rgba(0, 0, 0, 0.3);
    }

    .del-main {
      position: relative;
      z-index: 2;
      width: 500px;
      height: 175px;
      padding-bottom: 17px;
      border-radius: 20px;
      background: #fff;

      .del-title {
        width: 500px;
        padding: 49px 0 30px;
        font-size: 26px;
        color: #303030;
        text-align: center
      }

      .del-btn-box {
        display: flex;
        justify-content: space-between;
        padding: 0 30px;
      }

      .del-no {
        width: 214px;
        height: 56px;
        border-radius: 28px;
        text-align: center;
        line-height: 56px;
        font-size: 26px;
        color: #303030;
        border: 1px solid #c8c8c8;
      }

      .del-ok {
        width: 214px;
        height: 56px;
        border-radius: 28px;
        text-align: center;
        line-height: 56px;
        font-size: 26px;
        background: $mainColor;
        color: #fff;
        border: 1px solid $mainColor;
      }
    }
  }

}
